package com.hjl.spring6.bean.iocXml.factorybean;

import org.springframework.beans.factory.FactoryBean;

/**
 * @author ServivE
 * @version 0.1
 * @className factorybean
 * @description
 * @date 2024/8/6 17:08
 * @since jdk11
 */
public class factorybean implements FactoryBean {
    @Override
    public Object getObject() throws Exception {
        return new User();
    }

    @Override
    public Class<?> getObjectType() {
        return User.class;
    }
}
